import type { LoginResult } from '@/api/model/loginModel';
import { request } from '@/utils/request';

const Api = {
  login: '/sys/login',
};

export function postLogin(e: LoginResult) {
  return request.post({
    url: Api.login,
    data: e,
  });
}
